package com.jsh.erp.datasource.mappers;

import com.jsh.erp.datasource.entities.Kucun;
import com.jsh.erp.datasource.entities.KucunExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface KucunMapper {
    long countByExample(KucunExample example);

    int deleteByExample(KucunExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Kucun record);

    int insertSelective(Kucun record);

    List<Kucun> selectByExample(KucunExample example);

    Kucun selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") Kucun record, @Param("example") KucunExample example);

    int updateByExample(@Param("record") Kucun record, @Param("example") KucunExample example);

    int updateByPrimaryKeySelective(Kucun record);

    int updateByPrimaryKey(Kucun record);
}